#include "BulletCollision/CollisionDispatch/btCollisionObjectWrapper.h"
#ifdef __cplusplus
extern "C" {
#endif
btCollisionObject* bullet_btCollisionObjectWrapper_getCollisionObject(btCollisionObjectWrapper* c_this){
	btCollisionObject const * c_out = c_this->getCollisionObject();
	btCollisionObject* wrap_out = (btCollisionObject*)(void*)(c_out);
	return wrap_out;
}

btCollisionObject** bullet_btCollisionObjectWrapper_GetFieldOfM_collisionObject(btCollisionObjectWrapper* c_this){
	return (btCollisionObject**)(&c_this->m_collisionObject);
}

int bullet_btCollisionObjectWrapper_GetFieldOfM_index(btCollisionObjectWrapper* c_this){
	return (int)(c_this->m_index);
}

int bullet_btCollisionObjectWrapper_GetFieldOfM_partId(btCollisionObjectWrapper* c_this){
	return (int)(c_this->m_partId);
}

btTransform** bullet_btCollisionObjectWrapper_GetFieldOfM_preTransform(btCollisionObjectWrapper* c_this){
	return (btTransform**)(&c_this->m_preTransform);
}

btTransform** bullet_btCollisionObjectWrapper_GetFieldOfM_worldTransform(btCollisionObjectWrapper* c_this){
	return (btTransform**)(&c_this->m_worldTransform);
}

btTransform* bullet_btCollisionObjectWrapper_getWorldTransform(btCollisionObjectWrapper* c_this){
	btTransform const& c_out = c_this->getWorldTransform();
	btTransform* wrap_out = (btTransform*)(&c_out);
	return wrap_out;
}

#ifdef __cplusplus
}
#endif
